CC = gcc
CFLAGS = -Wall -I./include
TARGET = client

# 所有源文件（自动获取）
SRCS = $(wildcard src/*.c)

all: $(TARGET)

$(TARGET): $(SRCS)
	$(CC) $(CFLAGS) $^ -o $@

clean:
	rm -f $(TARGET)

.PHONY: all clean